<?php echo fetch('slide',array('type'=>service_type::SLIDE));?>
<div class="left">

	<div class="leftMenu">
	<div class="leftUserTitle">sss</div>
	<div class="list">
    <ul>
        <li>
			<a class="topmenu" href="">qq</a>
				<ul class="displayNone">
					<li><a href="">ss</a></li>
				</ul>
		</li>
		</ul>
	</div>
	</div>	
	
	
	<?php echo fetch('ad',array('type'=>service_type::ADSIDEBAR));?>
</div>
<div class="right">
<div class="w800">
		<?php foreach($user as $item):?>
		<ul class="post small-post small ">
			<div class="cover" cover-text="<?php echo $item['name'];?>">
				<a href="<?php echo url('user/index?id='.$item['id']);?>" hidefocus="true" target="_blank">
					<img src="<?php echo $item['imageUrl'];?>" alt="<?php echo $item['name'];?>" />
				</a>
			</div>
		</ul>
		<?php endforeach;?>
	<?php echo $page;?>
</div></div>

<script type="text/javascript">
$(document).ready(function(){
	$(".cover img").LoadImage(true,232,232);		
});
$(document).ready(function(){
	$(".list ul li").click(function(){
		var that = $(this).find("ul");
		if(that.hasClass('displayNone')){
			that.show(300);
			that.removeClass('displayNone');
		}else{
			that.hide(300);
			that.addClass('displayNone');
		}
	});
});
</script>
